package com.hhd.flow.controller;

import com.hhd.flow.service.IHFlowUserTaskTypeService;
import com.hhd.flow.vo.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/userTaskType")
public class UserTaskTypeController {
    @Autowired
    IHFlowUserTaskTypeService userTaskTypeService;

    @RequestMapping("/loadUserTaskTypes")
    public Result loadListeners() {
        return Result.ok(userTaskTypeService.list());
    }
}
